package com.bsb.base.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BsbUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public BsbUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public BsbUserExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("bsb_user.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("bsb_user.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("bsb_user.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("bsb_user.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("bsb_user.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("bsb_user.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("bsb_user.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("bsb_user.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("bsb_user.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("bsb_user.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("bsb_user.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("bsb_user.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andPwdIsNull() {
            addCriterion("bsb_user.pwd is null");
            return (Criteria) this;
        }

        public Criteria andPwdIsNotNull() {
            addCriterion("bsb_user.pwd is not null");
            return (Criteria) this;
        }

        public Criteria andPwdEqualTo(String value) {
            addCriterion("bsb_user.pwd =", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotEqualTo(String value) {
            addCriterion("bsb_user.pwd <>", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThan(String value) {
            addCriterion("bsb_user.pwd >", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.pwd >=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThan(String value) {
            addCriterion("bsb_user.pwd <", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.pwd <=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLike(String value) {
            addCriterion("bsb_user.pwd like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotLike(String value) {
            addCriterion("bsb_user.pwd not like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdIn(List<String> values) {
            addCriterion("bsb_user.pwd in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotIn(List<String> values) {
            addCriterion("bsb_user.pwd not in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdBetween(String value1, String value2) {
            addCriterion("bsb_user.pwd between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotBetween(String value1, String value2) {
            addCriterion("bsb_user.pwd not between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("bsb_user.name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("bsb_user.name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("bsb_user.name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("bsb_user.name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("bsb_user.name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("bsb_user.name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("bsb_user.name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("bsb_user.name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("bsb_user.name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("bsb_user.name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("bsb_user.name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("bsb_user.name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andHeadImgIsNull() {
            addCriterion("bsb_user.headImg is null");
            return (Criteria) this;
        }

        public Criteria andHeadImgIsNotNull() {
            addCriterion("bsb_user.headImg is not null");
            return (Criteria) this;
        }

        public Criteria andHeadImgEqualTo(String value) {
            addCriterion("bsb_user.headImg =", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotEqualTo(String value) {
            addCriterion("bsb_user.headImg <>", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgGreaterThan(String value) {
            addCriterion("bsb_user.headImg >", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.headImg >=", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLessThan(String value) {
            addCriterion("bsb_user.headImg <", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.headImg <=", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLike(String value) {
            addCriterion("bsb_user.headImg like", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotLike(String value) {
            addCriterion("bsb_user.headImg not like", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgIn(List<String> values) {
            addCriterion("bsb_user.headImg in", values, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotIn(List<String> values) {
            addCriterion("bsb_user.headImg not in", values, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgBetween(String value1, String value2) {
            addCriterion("bsb_user.headImg between", value1, value2, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotBetween(String value1, String value2) {
            addCriterion("bsb_user.headImg not between", value1, value2, "headImg");
            return (Criteria) this;
        }

        public Criteria andRegistTimeIsNull() {
            addCriterion("bsb_user.registTime is null");
            return (Criteria) this;
        }

        public Criteria andRegistTimeIsNotNull() {
            addCriterion("bsb_user.registTime is not null");
            return (Criteria) this;
        }

        public Criteria andRegistTimeEqualTo(Date value) {
            addCriterion("bsb_user.registTime =", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeNotEqualTo(Date value) {
            addCriterion("bsb_user.registTime <>", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeGreaterThan(Date value) {
            addCriterion("bsb_user.registTime >", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("bsb_user.registTime >=", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeLessThan(Date value) {
            addCriterion("bsb_user.registTime <", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeLessThanOrEqualTo(Date value) {
            addCriterion("bsb_user.registTime <=", value, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeIn(List<Date> values) {
            addCriterion("bsb_user.registTime in", values, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeNotIn(List<Date> values) {
            addCriterion("bsb_user.registTime not in", values, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeBetween(Date value1, Date value2) {
            addCriterion("bsb_user.registTime between", value1, value2, "registTime");
            return (Criteria) this;
        }

        public Criteria andRegistTimeNotBetween(Date value1, Date value2) {
            addCriterion("bsb_user.registTime not between", value1, value2, "registTime");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("bsb_user.birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("bsb_user.birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("bsb_user.birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("bsb_user.birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("bsb_user.birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("bsb_user.birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("bsb_user.birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("bsb_user.birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("bsb_user.birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("bsb_user.birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("bsb_user.birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("bsb_user.birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andRoleIsNull() {
            addCriterion("bsb_user.role is null");
            return (Criteria) this;
        }

        public Criteria andRoleIsNotNull() {
            addCriterion("bsb_user.role is not null");
            return (Criteria) this;
        }

        public Criteria andRoleEqualTo(String value) {
            addCriterion("bsb_user.role =", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotEqualTo(String value) {
            addCriterion("bsb_user.role <>", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThan(String value) {
            addCriterion("bsb_user.role >", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.role >=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThan(String value) {
            addCriterion("bsb_user.role <", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.role <=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLike(String value) {
            addCriterion("bsb_user.role like", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotLike(String value) {
            addCriterion("bsb_user.role not like", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleIn(List<String> values) {
            addCriterion("bsb_user.role in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotIn(List<String> values) {
            addCriterion("bsb_user.role not in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleBetween(String value1, String value2) {
            addCriterion("bsb_user.role between", value1, value2, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotBetween(String value1, String value2) {
            addCriterion("bsb_user.role not between", value1, value2, "role");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("bsb_user.phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("bsb_user.phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("bsb_user.phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("bsb_user.phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("bsb_user.phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("bsb_user.phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("bsb_user.phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("bsb_user.phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("bsb_user.phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("bsb_user.phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("bsb_user.phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("bsb_user.phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andVipIsNull() {
            addCriterion("bsb_user.vip is null");
            return (Criteria) this;
        }

        public Criteria andVipIsNotNull() {
            addCriterion("bsb_user.vip is not null");
            return (Criteria) this;
        }

        public Criteria andVipEqualTo(String value) {
            addCriterion("bsb_user.vip =", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotEqualTo(String value) {
            addCriterion("bsb_user.vip <>", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipGreaterThan(String value) {
            addCriterion("bsb_user.vip >", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.vip >=", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLessThan(String value) {
            addCriterion("bsb_user.vip <", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.vip <=", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLike(String value) {
            addCriterion("bsb_user.vip like", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotLike(String value) {
            addCriterion("bsb_user.vip not like", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipIn(List<String> values) {
            addCriterion("bsb_user.vip in", values, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotIn(List<String> values) {
            addCriterion("bsb_user.vip not in", values, "vip");
            return (Criteria) this;
        }

        public Criteria andVipBetween(String value1, String value2) {
            addCriterion("bsb_user.vip between", value1, value2, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotBetween(String value1, String value2) {
            addCriterion("bsb_user.vip not between", value1, value2, "vip");
            return (Criteria) this;
        }

        public Criteria andFirmIdIsNull() {
            addCriterion("bsb_user.firmId is null");
            return (Criteria) this;
        }

        public Criteria andFirmIdIsNotNull() {
            addCriterion("bsb_user.firmId is not null");
            return (Criteria) this;
        }

        public Criteria andFirmIdEqualTo(Integer value) {
            addCriterion("bsb_user.firmId =", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotEqualTo(Integer value) {
            addCriterion("bsb_user.firmId <>", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdGreaterThan(Integer value) {
            addCriterion("bsb_user.firmId >", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsb_user.firmId >=", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdLessThan(Integer value) {
            addCriterion("bsb_user.firmId <", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdLessThanOrEqualTo(Integer value) {
            addCriterion("bsb_user.firmId <=", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdIn(List<Integer> values) {
            addCriterion("bsb_user.firmId in", values, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotIn(List<Integer> values) {
            addCriterion("bsb_user.firmId not in", values, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdBetween(Integer value1, Integer value2) {
            addCriterion("bsb_user.firmId between", value1, value2, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bsb_user.firmId not between", value1, value2, "firmId");
            return (Criteria) this;
        }

        public Criteria andVipTimeIsNull() {
            addCriterion("bsb_user.vipTime is null");
            return (Criteria) this;
        }

        public Criteria andVipTimeIsNotNull() {
            addCriterion("bsb_user.vipTime is not null");
            return (Criteria) this;
        }

        public Criteria andVipTimeEqualTo(Date value) {
            addCriterion("bsb_user.vipTime =", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeNotEqualTo(Date value) {
            addCriterion("bsb_user.vipTime <>", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeGreaterThan(Date value) {
            addCriterion("bsb_user.vipTime >", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("bsb_user.vipTime >=", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeLessThan(Date value) {
            addCriterion("bsb_user.vipTime <", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeLessThanOrEqualTo(Date value) {
            addCriterion("bsb_user.vipTime <=", value, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeIn(List<Date> values) {
            addCriterion("bsb_user.vipTime in", values, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeNotIn(List<Date> values) {
            addCriterion("bsb_user.vipTime not in", values, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeBetween(Date value1, Date value2) {
            addCriterion("bsb_user.vipTime between", value1, value2, "vipTime");
            return (Criteria) this;
        }

        public Criteria andVipTimeNotBetween(Date value1, Date value2) {
            addCriterion("bsb_user.vipTime not between", value1, value2, "vipTime");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNull() {
            addCriterion("bsb_user.balance is null");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNotNull() {
            addCriterion("bsb_user.balance is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceEqualTo(Double value) {
            addCriterion("bsb_user.balance =", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotEqualTo(Double value) {
            addCriterion("bsb_user.balance <>", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThan(Double value) {
            addCriterion("bsb_user.balance >", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThanOrEqualTo(Double value) {
            addCriterion("bsb_user.balance >=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThan(Double value) {
            addCriterion("bsb_user.balance <", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThanOrEqualTo(Double value) {
            addCriterion("bsb_user.balance <=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceIn(List<Double> values) {
            addCriterion("bsb_user.balance in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotIn(List<Double> values) {
            addCriterion("bsb_user.balance not in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceBetween(Double value1, Double value2) {
            addCriterion("bsb_user.balance between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotBetween(Double value1, Double value2) {
            addCriterion("bsb_user.balance not between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andPositiotnIsNull() {
            addCriterion("bsb_user.positiotn is null");
            return (Criteria) this;
        }

        public Criteria andPositiotnIsNotNull() {
            addCriterion("bsb_user.positiotn is not null");
            return (Criteria) this;
        }

        public Criteria andPositiotnEqualTo(String value) {
            addCriterion("bsb_user.positiotn =", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnNotEqualTo(String value) {
            addCriterion("bsb_user.positiotn <>", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnGreaterThan(String value) {
            addCriterion("bsb_user.positiotn >", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.positiotn >=", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnLessThan(String value) {
            addCriterion("bsb_user.positiotn <", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.positiotn <=", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnLike(String value) {
            addCriterion("bsb_user.positiotn like", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnNotLike(String value) {
            addCriterion("bsb_user.positiotn not like", value, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnIn(List<String> values) {
            addCriterion("bsb_user.positiotn in", values, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnNotIn(List<String> values) {
            addCriterion("bsb_user.positiotn not in", values, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnBetween(String value1, String value2) {
            addCriterion("bsb_user.positiotn between", value1, value2, "positiotn");
            return (Criteria) this;
        }

        public Criteria andPositiotnNotBetween(String value1, String value2) {
            addCriterion("bsb_user.positiotn not between", value1, value2, "positiotn");
            return (Criteria) this;
        }

        public Criteria andDutyIsNull() {
            addCriterion("bsb_user.duty is null");
            return (Criteria) this;
        }

        public Criteria andDutyIsNotNull() {
            addCriterion("bsb_user.duty is not null");
            return (Criteria) this;
        }

        public Criteria andDutyEqualTo(String value) {
            addCriterion("bsb_user.duty =", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotEqualTo(String value) {
            addCriterion("bsb_user.duty <>", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThan(String value) {
            addCriterion("bsb_user.duty >", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.duty >=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThan(String value) {
            addCriterion("bsb_user.duty <", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.duty <=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLike(String value) {
            addCriterion("bsb_user.duty like", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotLike(String value) {
            addCriterion("bsb_user.duty not like", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyIn(List<String> values) {
            addCriterion("bsb_user.duty in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotIn(List<String> values) {
            addCriterion("bsb_user.duty not in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyBetween(String value1, String value2) {
            addCriterion("bsb_user.duty between", value1, value2, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotBetween(String value1, String value2) {
            addCriterion("bsb_user.duty not between", value1, value2, "duty");
            return (Criteria) this;
        }

        public Criteria andQuoteIsNull() {
            addCriterion("bsb_user.quote is null");
            return (Criteria) this;
        }

        public Criteria andQuoteIsNotNull() {
            addCriterion("bsb_user.quote is not null");
            return (Criteria) this;
        }

        public Criteria andQuoteEqualTo(String value) {
            addCriterion("bsb_user.quote =", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteNotEqualTo(String value) {
            addCriterion("bsb_user.quote <>", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteGreaterThan(String value) {
            addCriterion("bsb_user.quote >", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.quote >=", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteLessThan(String value) {
            addCriterion("bsb_user.quote <", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.quote <=", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteLike(String value) {
            addCriterion("bsb_user.quote like", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteNotLike(String value) {
            addCriterion("bsb_user.quote not like", value, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteIn(List<String> values) {
            addCriterion("bsb_user.quote in", values, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteNotIn(List<String> values) {
            addCriterion("bsb_user.quote not in", values, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteBetween(String value1, String value2) {
            addCriterion("bsb_user.quote between", value1, value2, "quote");
            return (Criteria) this;
        }

        public Criteria andQuoteNotBetween(String value1, String value2) {
            addCriterion("bsb_user.quote not between", value1, value2, "quote");
            return (Criteria) this;
        }

        public Criteria andSkillIsNull() {
            addCriterion("bsb_user.skill is null");
            return (Criteria) this;
        }

        public Criteria andSkillIsNotNull() {
            addCriterion("bsb_user.skill is not null");
            return (Criteria) this;
        }

        public Criteria andSkillEqualTo(String value) {
            addCriterion("bsb_user.skill =", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillNotEqualTo(String value) {
            addCriterion("bsb_user.skill <>", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillGreaterThan(String value) {
            addCriterion("bsb_user.skill >", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.skill >=", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillLessThan(String value) {
            addCriterion("bsb_user.skill <", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.skill <=", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillLike(String value) {
            addCriterion("bsb_user.skill like", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillNotLike(String value) {
            addCriterion("bsb_user.skill not like", value, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillIn(List<String> values) {
            addCriterion("bsb_user.skill in", values, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillNotIn(List<String> values) {
            addCriterion("bsb_user.skill not in", values, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillBetween(String value1, String value2) {
            addCriterion("bsb_user.skill between", value1, value2, "skill");
            return (Criteria) this;
        }

        public Criteria andSkillNotBetween(String value1, String value2) {
            addCriterion("bsb_user.skill not between", value1, value2, "skill");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceIsNull() {
            addCriterion("bsb_user.advisoryPrice is null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceIsNotNull() {
            addCriterion("bsb_user.advisoryPrice is not null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceEqualTo(Double value) {
            addCriterion("bsb_user.advisoryPrice =", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceNotEqualTo(Double value) {
            addCriterion("bsb_user.advisoryPrice <>", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceGreaterThan(Double value) {
            addCriterion("bsb_user.advisoryPrice >", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("bsb_user.advisoryPrice >=", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceLessThan(Double value) {
            addCriterion("bsb_user.advisoryPrice <", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceLessThanOrEqualTo(Double value) {
            addCriterion("bsb_user.advisoryPrice <=", value, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceIn(List<Double> values) {
            addCriterion("bsb_user.advisoryPrice in", values, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceNotIn(List<Double> values) {
            addCriterion("bsb_user.advisoryPrice not in", values, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceBetween(Double value1, Double value2) {
            addCriterion("bsb_user.advisoryPrice between", value1, value2, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andAdvisoryPriceNotBetween(Double value1, Double value2) {
            addCriterion("bsb_user.advisoryPrice not between", value1, value2, "advisoryPrice");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("bsb_user.delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("bsb_user.delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("bsb_user.delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("bsb_user.delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("bsb_user.delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("bsb_user.delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("bsb_user.delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("bsb_user.delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("bsb_user.delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("bsb_user.delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("bsb_user.delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("bsb_user.delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andProfileIsNull() {
            addCriterion("bsb_user.profile is null");
            return (Criteria) this;
        }

        public Criteria andProfileIsNotNull() {
            addCriterion("bsb_user.profile is not null");
            return (Criteria) this;
        }

        public Criteria andProfileEqualTo(String value) {
            addCriterion("bsb_user.profile =", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileNotEqualTo(String value) {
            addCriterion("bsb_user.profile <>", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileGreaterThan(String value) {
            addCriterion("bsb_user.profile >", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.profile >=", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileLessThan(String value) {
            addCriterion("bsb_user.profile <", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.profile <=", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileLike(String value) {
            addCriterion("bsb_user.profile like", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileNotLike(String value) {
            addCriterion("bsb_user.profile not like", value, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileIn(List<String> values) {
            addCriterion("bsb_user.profile in", values, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileNotIn(List<String> values) {
            addCriterion("bsb_user.profile not in", values, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileBetween(String value1, String value2) {
            addCriterion("bsb_user.profile between", value1, value2, "profile");
            return (Criteria) this;
        }

        public Criteria andProfileNotBetween(String value1, String value2) {
            addCriterion("bsb_user.profile not between", value1, value2, "profile");
            return (Criteria) this;
        }

        public Criteria andFreezePriceIsNull() {
            addCriterion("bsb_user.freezePrice is null");
            return (Criteria) this;
        }

        public Criteria andFreezePriceIsNotNull() {
            addCriterion("bsb_user.freezePrice is not null");
            return (Criteria) this;
        }

        public Criteria andFreezePriceEqualTo(Double value) {
            addCriterion("bsb_user.freezePrice =", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceNotEqualTo(Double value) {
            addCriterion("bsb_user.freezePrice <>", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceGreaterThan(Double value) {
            addCriterion("bsb_user.freezePrice >", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceGreaterThanOrEqualTo(Double value) {
            addCriterion("bsb_user.freezePrice >=", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceLessThan(Double value) {
            addCriterion("bsb_user.freezePrice <", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceLessThanOrEqualTo(Double value) {
            addCriterion("bsb_user.freezePrice <=", value, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceIn(List<Double> values) {
            addCriterion("bsb_user.freezePrice in", values, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceNotIn(List<Double> values) {
            addCriterion("bsb_user.freezePrice not in", values, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceBetween(Double value1, Double value2) {
            addCriterion("bsb_user.freezePrice between", value1, value2, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andFreezePriceNotBetween(Double value1, Double value2) {
            addCriterion("bsb_user.freezePrice not between", value1, value2, "freezePrice");
            return (Criteria) this;
        }

        public Criteria andInviteByIsNull() {
            addCriterion("bsb_user.inviteBy is null");
            return (Criteria) this;
        }

        public Criteria andInviteByIsNotNull() {
            addCriterion("bsb_user.inviteBy is not null");
            return (Criteria) this;
        }

        public Criteria andInviteByEqualTo(String value) {
            addCriterion("bsb_user.inviteBy =", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotEqualTo(String value) {
            addCriterion("bsb_user.inviteBy <>", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByGreaterThan(String value) {
            addCriterion("bsb_user.inviteBy >", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_user.inviteBy >=", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLessThan(String value) {
            addCriterion("bsb_user.inviteBy <", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLessThanOrEqualTo(String value) {
            addCriterion("bsb_user.inviteBy <=", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLike(String value) {
            addCriterion("bsb_user.inviteBy like", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotLike(String value) {
            addCriterion("bsb_user.inviteBy not like", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByIn(List<String> values) {
            addCriterion("bsb_user.inviteBy in", values, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotIn(List<String> values) {
            addCriterion("bsb_user.inviteBy not in", values, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByBetween(String value1, String value2) {
            addCriterion("bsb_user.inviteBy between", value1, value2, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotBetween(String value1, String value2) {
            addCriterion("bsb_user.inviteBy not between", value1, value2, "inviteBy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}